﻿using EquipmentManager.BOLogic;
using EquipmentManager.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EquipmentManager.Models;

namespace EquipmentManager.Controllers
{
    public class ErrorController : Controller
    {
        /// <summary>
        /// HTTPs the error404.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <returns></returns>
        public ActionResult HttpError404(object message)
        {
            return View(message);
        }

        /// <summary>
        /// HTTPs the error500.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <returns></returns>
        public ActionResult HttpError500(object message)
        {
            return View(message);
        }

        /// <summary>
        /// Generals the specified message.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <returns></returns>
        public ActionResult TechnicalError(object message)
        {
            return View(message);
        }

        public ActionResult Unathorized()
        {
            return View();
        }
    }
}
